﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Data;
using DTO;

namespace BLL
{
	public class SMSScheduleBUS
	{
		public static DataTable GetListSMS()
		{
			SMSScheduleDAO b = new SMSScheduleDAO();
			return b.GetListSMS();
		}
		public static List<SMSSchedule> GetListSMSS()
		{
			SMSScheduleDAO b = new SMSScheduleDAO();
			return b.GetListSMSS();
		}
		public static String CreateNewID()
		{
			SMSScheduleDAO b = new SMSScheduleDAO();
			return b.CreatenewId();
		}
		public static bool INSERT(SMSSchedule SMS,List<CT_SMS> ct)
		{
			SMSScheduleDAO b = new SMSScheduleDAO();
			return b.INSERT(SMS,ct);
		}
		public static bool UPDATE(SMSSchedule SMS,List<CT_SMS> ct)
		{
			SMSScheduleDAO b = new SMSScheduleDAO();
			return b.UPDATE(SMS,ct);
		}
		public static bool DELETE(SMSSchedule SMS,List<CT_SMS> lct)
		{
			SMSScheduleDAO b = new SMSScheduleDAO();
			return b.DELETE(SMS,lct);
		}
	}
}
